package com.tanhua.dubbo.server.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Collections;
import java.util.List;

/**
 * * @title: PageInfo
 *
 * @Author Philcan
 * @Date: 2021/8/9 18:58
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageInfo<T> implements Serializable {
    private Integer total = 0;
    private Integer pageNum = 0;
    private Integer pageSize = 0;
    private List<T> records = Collections.emptyList();
}
